package route

import (
	"git.gz.internal.jumaiyx.cn/pkg/tnet/request"
)

type IRouter interface {
	PreHandle(req request.IRequest)  //请求前置
	Handle(req request.IRequest)     //请求处理
	PostHandle(req request.IRequest) //请求后置
}

type BaseRoute struct{}

func (route *BaseRoute) PreHandle(req request.IRequest)  {}
func (route *BaseRoute) Handle(req request.IRequest)     {}
func (route *BaseRoute) PostHandle(req request.IRequest) {}
